package com.city.service.auth.impl;

import com.city.domain.auth.AuthLevelThree;
import com.city.repository.auth.AuthLevelThreeRepository;
import com.city.service.auth.AuthLevelThreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthLevelThreeServiceImpl implements AuthLevelThreeService {


    @Autowired
    private AuthLevelThreeRepository authLevelThreeRepository;

    @Override
    public List<AuthLevelThree> findAll() {
        return authLevelThreeRepository.findAll();
    }

    @Override
    public void save(AuthLevelThree authLevelThree) {
        authLevelThreeRepository.save(authLevelThree);
    }
}
